<include file="Public/head"/>
<body class="no-skin">
<include file="Public/header"/>
<div class="main-container" id="main-container">
    <script type="text/javascript">
        try {
            ace.settings.check('main-container', 'fixed')
        } catch (e) {
        }
    </script>

    <include file="Public/sidebar"/>
    <div class="main-content">
        <div class="main-content-inner">
            <!-- #section:basics/content.breadcrumbs -->
            <include file="Public/breadcrumbs"/>

            <!-- /section:basics/content.breadcrumbs -->
            <div class="page-content">
                <include file="Public/set"/>

                <!-- /section:settings.box -->
                <div class="row">
                    <div class="col-xs-12">
                        <!-- PAGE CONTENT BEGINS -->
                        <form class="form-horizontal" action="{:U('update')}" method="post">
                            <div class="form-group">
                                <label class="col-sm-1 control-label no-padding-right" for="pro_name"> 产品名称 </label>
                                <div class="col-sm-9">
                                    <input type="hidden" name="id" value="{$info['id']}">
                                    <input type="text" name="pro_name" id="pro_name" class="rcol-xs-10 col-sm-5" value="{$info.pro_name}">
                                </div>
                            </div>
                            <div class="space-4"></div>
                            <div class="form-group">
                                <label class="col-sm-1 control-label no-padding-right" for="pro_edu"> 贷款额度 </label>
                                <div class="col-sm-9">
                                    <input type="text" name="pro_edu" id="pro_edu" class="rcol-xs-10 col-sm-5" value="{$info.pro_edu}">
                                    <span class="help-inline col-xs-12 col-sm-7">
												<span class="middle">不带单位</span>
											</span>
                                </div>
                            </div>
                            <div class="space-4"></div>
                            <div class="form-group">
                                <label class="col-sm-1 control-label no-padding-right" for="pro_time"> 放款时间 </label>
                                <div class="col-sm-9">
                                    <input type="text" name="pro_time" id="pro_time" class="rcol-xs-10 col-sm-5" value="{$info.pro_time}">
                                    <span class="help-inline col-xs-12 col-sm-7">
												<span class="middle">不带单位</span>
											</span>
                                </div>
                            </div>
                            <div class="space-4"></div>
                            <div class="form-group">
                                <label class="col-sm-1 control-label no-padding-right" for="pro_month_lilv"> 月利率 </label>
                                <div class="col-sm-9">
                                    <input type="text" name="pro_month_lilv" id="pro_month_lilv" class="rcol-xs-10 col-sm-5" value="{$info.pro_month_lilv}">
                                </div>
                            </div>
                            <div class="space-4"></div>
                            <div class="form-group">
                                <label class="col-sm-1 control-label no-padding-right" for="pro_date"> 贷款期限 </label>
                                <div class="col-sm-9">
                                    <input type="text" name="pro_date" id="pro_date" class="rcol-xs-10 col-sm-5" value="{$info.pro_date}">
                                    <span class="help-inline col-xs-12 col-sm-7">
												<span class="middle">不带单位</span>
											</span>
                                </div>
                            </div>
                            <div class="space-4"></div>
                            <div class="form-group">
                                <label class="col-sm-1 control-label no-padding-right" for="pro_condition"> 贷款条件 </label>
                                <div class="col-sm-9">
                                    <!--<input type="text" name="pro_condition" id="pro_condition" class="rcol-xs-10 col-sm-5" value="{$info.pro_condition}">-->
                                    <textarea name="pro_condition" id="pro_condition" style="width:50%;height:300px;visibility:hidden;">{$info['pro_condition']}</textarea>
                                </div>
                            </div>
                            <div class="space-4"></div>
                            <div class="form-group">
                                <label class="col-sm-1 control-label no-padding-right" for="pro_needs"> 所需资质描述 </label>
                                <div class="col-sm-9">
                                    <input type="text" name="pro_needs" id="pro_needs" class="rcol-xs-10 col-sm-5" value="{$info.pro_needs}">
                                </div>
                            </div>
                            <div class="space-4"></div>

                            <div class="col-md-offset-2 col-md-9">
                                <button class="btn btn-info" type="submit">
                                    <i class="icon-ok bigger-110"></i>
                                    提交
                                </button>
                                <button class="btn" type="reset">
                                    <i class="icon-undo bigger-110"></i>
                                    重置
                                </button>
                            </div>
                        </form>
                        <!-- PAGE CONTENT ENDS -->
                    </div><!-- /.col -->
                </div><!-- /.row -->
            </div><!-- /.page-content -->
        </div>
    </div><!-- /.main-content -->
    <include file="Public/footer"/>

</div><!-- /.main-container -->

<include file="Public/footerjs"/>
<!-- inline scripts related to this page -->
<script type="text/javascript">
    $(function () {
        $("#tabs").tabs();
        var editor = KindEditor.create('textarea[name="pro_condition"]', {
            uploadJson: '__PUBLIC__/kindeditor/php/upload_json.php',
            fileManagerJson: '__PUBLIC__/kindeditor/php/file_manager_json.php',
            allowFileManager: true,
            afterBlur: function () {
                this.sync();
            }
        });
    });
</script>
</body>
</html>
